package id.net.iconpln.bb.server;

import id.net.iconpln.bb.client.service.SecmanService;
import id.net.iconpln.bb.server.service.SecmanServices;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.google.gwt.user.server.rpc.RemoteServiceServlet;

@Repository
public class SecmanServiceImpl extends RemoteServiceServlet implements SecmanService{
	@Autowired 
	private SecmanServices secmanServices;

	@Override
	public List<Map> getMasterUserAll() {
		return secmanServices.getMasterUserAll();
	}

	@Override
	public List<Map> getMasterGroupAll() {
		return secmanServices.getMasterGroupAll();
	}

	@Override
	public List<Map> getMasterModulAll() {
		return secmanServices.getMasterModulAll();
	}

	@Override
	public List<Map> getMasterUserAccessAll() {
		return secmanServices.getMasterUserGroupAll();
	}

	@Override
	public List<Map> getMasterGroupAccessAll() {
		return secmanServices.getMasterGroupAccessAll();
	}

	@Override
	public List<Map> getMasterUnitAll() {
		return secmanServices.getMasterUnitAll();
	}

	@Override
	public List<Map> getMasterLevelUserAll() {
		return secmanServices.getMasterLevelUserAll();
	}

	@Override
	public List<Map> manageMasterUser(String kode, Map map) {
		return secmanServices.manageMasterUser(kode, map);
	}

	@Override
	public List<Map> manageMasterGroup(String kode, Map map) {
		return secmanServices.manageMasterGroup(kode, map);
	}

	@Override
	public List<Map> manageMasterModul(String kode, Map map) {
		return secmanServices.manageMasterModul(kode, map);
	}

	@Override
	public List<Map> manageUserGroup(String kode, Map map) {
		return secmanServices.manageUserGroup(kode, map);
	}

	@Override
	public List<Map> manageGroupAccess(String kode, Map map) {
		return secmanServices.manageGroupAccess(kode, map);
	}

	@Override
	public List<Map> changePassword(String kode, Map map) {
		return secmanServices.changePassword(kode, map);
	}

	@Override
	public List<Map> getMasterUserGroupAll() {
		return secmanServices.getMasterUserGroupAll();
	}

	@Override
	public List<Map> getMasterUser(Map map) {
		return secmanServices.getMasterUser(map);
	}

	@Override
	public List<Map> getMasterUnit(Map map) {
		return secmanServices.getMasterUnit(map);
	}

	@Override
	public List<Map> getMasterUserAccess(Map map) {
		return secmanServices.getMasterUserAccess(map);
	}

	@Override
	public List<Map> getMasterModul(Map map) {
		return secmanServices.getMasterModul(map);
	}
}
